﻿<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit">
    <meta name="robots" content="all">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <link rel="shortcut icon" href="../favicon.ico" />
    <meta name="keywords" content="陆军,装备,政工,后勤,精英,边关">
    <meta name="description" content="努力建设一支强大的现代化新型陆军">
    <title>走进军旅生活</title>
    <link rel="stylesheet" href="/static/index/css/styles.css">
    <link rel="stylesheet" href="/static/index/css/fonts.css">
    <!--Webterren MetaCode start-->
    <meta name="filetype" content="1">
    <meta name="publishedtype" content="1">
    <meta name="pagetype" content="2">
    <meta name="catalogs" content="61206">
    <!--Webterren MetaCode end-->
    <!--[if lt IE 9]>
    <script src="/static/index/js/respond.min.js"></script>
    <![endif]-->
    <style>
        .icon-search:before {
            content: "\e903";
        }
        [class^="icon-"], [class*=" icon-"] {
            font-family: 'icomoon' !important;
            speak: none;
            font-style: normal;
            font-weight: normal;
            font-variant: normal;
            text-transform: none;
            display: inline-block;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .header .hd .search button {
            position: absolute;
            top: 0;
            right: 0;
            height: 40px;
            padding: 9px 20px;
            font-size: 22px;
            line-height: 22px;
            border: none;
            background-color: transparent;
            color: #388d78;
        }
        .btn {
            background: #F2F2F2;
            border: 1px solid #e1e1e1;
            color: #333;
        }
        .btn {
            box-sizing: border-box;
            padding: .5em 1em;
            font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;
            word-spacing: normal;
            white-space: nowrap;
            font-size: 16px;
            border-radius: 2px;
        }
        .height-350{
            height: 350px;
        }
        .height-480{
            height: 480px;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box {
            overflow: hidden;
        }
        ::selection {
            background: #FFA;
            color: #121212;
            text-shadow: none;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section .content {
            padding-top: 10px;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section .content .img {
            display: block;
            position: relative;
            overflow: hidden;
        }
        a {
            text-decoration: none;
            color: #181818;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section .content .img em {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: #fff;
            opacity: 0;
            filter: alpha(opacity=0);
            transition: all 0.3s linear;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section .content .img img {
            display: block;
            width: 100%;
        }
        img {
            max-width: 100%;
            height: auto;
            border: none;
            box-sizing: border-box;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section .content span {
            display: block;
            padding: 10px;
            border: 1px solid #f0f0f0;
            border-top: 0px;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section-l {
            float: left;
            padding-right: 20px;
            box-sizing: border-box;
            width: 50%;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section ul {
            margin: 0;
            padding: 0;
            list-style: none;
            padding: 20px 0;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section ul {
            margin: 0;
            padding: 0;
            list-style: none;
            padding: 20px 0;
        }
        ul li, ol li {
            line-height: 1.8em;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section .content span a {
            font-size: 14px;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section .content span a {
            display: block;
            font-size: 16px;
            color: #333;
            line-height: 2.2em;
            height: 2.2em;
            overflow: hidden;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section-l {
            padding-right: 15px;
        }
        .spdb-zbzl .article .spdb .cm-tab .tab-bd .tab-item .c-box .section ul li a {
            font-size: 14px;
        }
        .spdb-zbzl{
            font-size: 16px;
            color: #121212;
        }

    </style>
</head>

<body>
<!--导航-->
<div class="global-nav-bar">
    <div class="container">
        <div class="float-left">
            <ul class="link-ext">
                <li><a href="{:url('/')}">走进军旅生活</a></li>
            </ul>
        </div>
        <div class="float-right">
            <ul class="link-ext">
                <li>{if condition="strlen($Think.session.user_name) > 0"}{$Think.session.user_name} | <a href="javascript:void(0);" onclick="logout();"><span>注销</span></a> {else }<a href="{:url('user/login')}" ><span>请登录</span></a> {/if}</li>
            </ul>
        </div>
    </div>
</div>
<!--/导航-->
<!--2级导航-->
<div class="container">
    <div class="header">
        <div class="hd">
            <h1 class="logo"><img src="/static/index/images/logo_sh.png" style="position: relative; top: -26px;" alt="中国陆军"></h1>
            <form action="{:url('index/search')}" class="search pull-right hidden-xs" method="POST" target="_blank">
                <input type="text" name="title" placeholder="请输入关键字" autocomplete="off" required="" class="form-control input-sx">
                <button type="submit" class="btn"><i class="icon-search"></i> </button>
            </form>
        </div>
        <a href="http://search.chinamil.com.cn/search/milsearch/stouch.jsp" target="_blank" class="btn-search-sm"><i class="icon-search"></i></a>
        <ul class="main-nav">
            {foreach $puTongList as $k =>$v}
                <li>
                    <a href="{:url('newsCateList')}?id={$v['id']}&cate_name={$v['cate_name']}"  target="_blank"  class="">{$v['cate_name']}</a><!--end 6850292-0-5-->
                </li>
            {/foreach}
        </ul>
    </div>
</div>
<!--/2级导航-->
<!--焦点图与要闻-->
<style>
    .count-image{
        position: absolute !important;
        right: 20px !important;
        bottom: 10px !important;
        color: #fff;
        font-style: normal;
        z-index: 3;
        font-size: 14px;
        display: inline;
    }
</style>
<div class="focus-new">
    <div class="container f-content">
        <div class="left-c">
            {foreach $lunboList as $k =>$v}
                {if condition="$k eq 0"}
                    <div class="top-c">
                        <h4><a href="{:url('index/detail')}?id={$v['id']}" target="_blank">{$v['title']}</a></h4>
                        <p>{$v['abstract']}</p>
                    </div>
                    <ul>
                {else /}
                        <li><a href="{:url('index/detail')}?id={$v['id']}" target="_blank">{$v['title']}</a></li>
                {/if}
            {/foreach}
                    </ul>
        </div>
        <div class="right-c">
            <div id="owl-demo-a" class="owl-carousel">

                {foreach $lunboList as $k =>$v}
                    <div class="item">
                        <a href="{:url('index/detail')}?id={$v['id']}" target="_blank" class="img">
                            <img src="{$v['event_image']}">
                        </a>
                        <span>
                            <em></em>
                            <a href="{:url('index/detail')}?id={$v['id']}" target="_blank">{$v['title']}</a>
                            <a class="count-image">{$k+1}/{$countImage}</a>
                        </span>
                    </div>
                {/foreach}
                <!--/#Tmaker-->
            </div>
        </div>
    </div>
</div>
<!--/要闻与焦点图-->
<!--战区与政工视窗-->
<div class="container zq-zgsc ">
    <div class="row article">
        <div class="col-md-8-12 zq">
            <div class="cm-tab">
                <div class="tab-hd">
                    <ul>
                        {foreach $zhanQuCateList as $k=>$v}
                            {if condition="$k eq 0"}
                                <li  class="active" >
                                    <a href="{:url('newsCateList')}?id={$v['id']}&cate_name={$v['cate_name']}"  target="_blank"  class="">{$v['cate_name']}</a>
                                </li>
                            {else /}
                                <li>
                                    <a href="{:url('newsCateList')}?id={$v['id']}&cate_name={$v['cate_name']}"  target="_blank"  class="">{$v['cate_name']}</a>
                                </li>
                            {/if}
                        {/foreach}
                    </ul>
                </div>
                <div class="tab-bd">
                    {foreach $zhanQuCateList as $k =>$v}
                    <div class="tab-item active">
                        <div class="box">
                            <div class="left-c">
                                {foreach $v['newsList'] as $kk =>$vv}
                                    {if condition="$kk < 2"}
                                        <div class="content">
                                            <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank" class="img">
                                                <em></em>
                                                <img src="{$vv['event_image']}">
                                            </a>
                                            <span>
                                                    <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['abstract']}</a>
                                                </span>
                                        </div>
                                    {/if}
                                {/foreach}
                            </div>
                            <div class="right-c">
                                <ul>
                                    {foreach $v['newsList'] as $kk =>$vv}
                                        <li>
                                            <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a>
                                        </li>
                                    {/foreach}
                                </ul>
                            </div>
                        </div>
                    </div>
                    {/foreach}
                </div>
            </div>
        </div>
        <div class="col-md-4-12 zgsc height-350">
            <div class="cm-tab">
                {foreach $puTongList as $k =>$v }
                    {if condition="$k eq 0"}
                        <div class="tab-hd">
                            <ul>
                                <li>
                                        <a href="{:url('newsCateList')}?id={$v['id']}&cate_id={$v['id']}&cate_name={$v['cate_name']}"  target="_blank"  class="">{$v['cate_name']}</a>

                                </li>
                            </ul>
                        </div>
                        <div class="tab-bd">
                            <div class="tab-item active">
                                {foreach  $v['newsList'] as $kk =>$vv}
                                        {if condition="$kk eq 0"}
                                                <div class="content">
                                                    <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank" class="img">
                                                        <em></em>
                                                        <img src="{$vv['event_image']}">
                                                    </a>
                                                    <span>
                                                                    <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a>
                                                                </span>
                                                </div>
                                                <ul>
                                        {else /}
                                                <li><a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a></li>
                                        {/if}
                                {/foreach}
                                 </ul>
                            </div>
                        </div>
                {/if}
                {/foreach}
            </div>
        </div>
    </div>
</div>
<!--/战区与政工视窗-->
<!--亮剑沙场与陆战精英与陆战装备-->
<div class="container ljsc-lzjj-lzzb spdb-zbzl">
    <div class="row article">
        {foreach $puTongList as $k =>$v}

            {if condition="$k gt 0"}

                    <!--视频点播-->
                    {if condition="$v['id'] eq 10"}
                            <div class="col-md-8-12 spdb height-480">
                                    <div class="cm-tab">
                                        <div class="tab-hd">
                                            <ul>
                                                <li>
                                                    <a href="{:url('newsCateList')}?id={$v['id']}&cate_id={$v['id']}&cate_name={$v['cate_name']}"  target="_blank"  class="">{$v['cate_name']}</a>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="tab-bd">
                                            <div class="tab-item active">
                                                <div class="c-box">
                                                    {foreach $v['newsList'] as $kk =>$vv}
                                                            {if condition="$kk lt 4"}
                                                                    {if condition="$kk eq 0"}
                                                                        <div class="section-l section">
                                                                            <div class="content">
                                                                                <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank" class="img">
                                                                                    <em></em>
                                                                                    <img src="{$vv['event_image']}">
                                                                                </a>
                                                                                <span>
                                                                                    <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a>
                                                                                </span>
                                                                            </div>
                                                                            <ul>
                                                                    {else /}
                                                                           <li>
                                                                               <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a>
                                                                           </li>
                                                                     {/if}

                                                                {/if}
                                                            {/foreach}
                                                                            </ul>
                                                                        </div>
                                                    {foreach $v['newsList'] as $kk =>$vv}
                                                                {if condition="$kk egt 4"}
                                                                    {if condition="$kk eq 4"}
                                                                            <div class="section-r section">
                                                                                    <div class="content">
                                                                                        <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank" class="img">
                                                                                            <em></em>
                                                                                            <img src="{$vv['event_image']}">
                                                                                        </a>
                                                                                        <span>
                                                                                            <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a>
                                                                                        </span>
                                                                                    </div>
                                                                                    <ul>
                                                                    {else /}
                                                                                    <li>
                                                                                        <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a>
                                                                                    </li>
                                                                    {/if}

                                                                {/if}
                                                     {/foreach}
                                                              </ul>
                                                     </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                            </div>

                    {else /}


                        <!--咱班咱连-->
                        {if condition="$v['id'] eq  14"}
                                <div class="col-md-4-12 zbzl height-480">
                                    <div class="cm-tab">
                                        <div class="tab-hd">
                                            <ul>
                                                <li>
                                                    <a href="{:url('newsCateList')}?id={$v['id']}&cate_id={$v['id']}&cate_name={$v['cate_name']}"  target="_blank"  class="">{$v['cate_name']}</a>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="tab-bd">
                                            <div class="tab-item active">

                                                    <div class="section">
                                                        {foreach $v['newsList'] as $kk =>$vv}
                                                                {if condition="$kk eq 0 "}

                                                                {/if}
                                                                {if condition="$kk eq 0"}
                                                                    <div class="content">
                                                                                    <div class="content-l">
                                                                                        <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank" class="img">
                                                                                            <em></em>
                                                                                            <img src="{$vv['event_image']}"></a>
                                                                                        <span><a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a></span>
                                                                                    </div>
                                                                                    <div class="content-r">
                                                                                        <a href="{:url('index/detail')}?id={$v['newsList'][$kk+1]['id']}" target="_blank" class="img">
                                                                                            <em></em>
                                                                                            <img src="{$v['newsList'][$kk+1]['event_image']}"></a>
                                                                                        <span><a href="{:url('index/detail')}?id={$v['newsList'][$kk+1]['id']}" target="_blank">{$v['newsList'][$kk+1]['title']}</a></span>
                                                                                    </div>
                                                                    </div>
                                                                {/if}
                                                        {if condition="$kk neq 0 && $kk neq 1"}
                                                            {if condition="$kk eq 2"}
                                                                    <ul>
                                                            {else /}
                                                                    <li><a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a></li>
                                                            {/if}
                                                        {/if}
                                                        {/foreach}
                                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                        {else /}
                                    <!--普通栏目-->
                                    <div class="col-md-4-12 ljsc height-350">
                                        <div class="cm-tab">
                                            <div class="tab-hd">
                                                <ul>
                                                    <li>
                                                        <a href="{:url('newsCateList')}?id={$v['id']}&cate_id={$v['id']}&cate_name={$v['cate_name']}"  target="_blank"  class="">{$v['cate_name']}</a>
                                                    </li>
                                                </ul>
                                            </div>
                                            <div class="tab-bd">
                                                <div class="tab-item active">
                                                    {foreach $v['newsList'] as $kk =>$vv}
                                                            {if condition="$kk eq 0"}
                                                                    <div class="content">
                                                                        <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank" class="img">
                                                                            <em></em>
                                                                            <img src="{$vv['event_image']}">
                                                                        </a>
                                                                        <span>
                                                                              <a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['abstract']}</a>
                                                                        </span>                                <!--end 6850321-61383-1-->
                                                                    </div>
                                                                    <ul>
                                                            {else /}
                                                                        <li><a href="{:url('index/detail')}?id={$vv['id']}" target="_blank">{$vv['title']}</a></li>
                                                            {/if}
                                                      {/foreach}
                                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                         {/if}

                    {/if}
            {/if}
        {/foreach}
    </div>
</div>

<!--页脚-->
{include file="common/footer"/}
<!--加载公共资源组件库中的组件-->
<!--加载公共资源库脚本文件-->
<!--/页脚-->
<script src="/static/index/js/javascript.js"></script>
<!--加载dataslot的脚本文件-->
<script src='/static/index/js/wwwscript.js'></script>
<script type="text/javascript" src="/static/plugins/layui/layui.js"></script>
</body>
<script>
    var $,layer;
    layui.use(['table','form'], function() {
        var table = layui.table, form = layui.form;
        $ = layui.jquery;
        layer=layui.layer;
    });
    function logout() {
        layer.confirm('确定要注销登录吗！', function(index){
            $.post("{:url('user/logout')}",{},function(res){
                if(res.code < 1){
                    window.location.reload();
                }else{
                    layer.msg(res.msg, {icon: 2, anim: 6, time: 1000});
                }
            });
        });
    }
</script>
</html>